home *** CD-ROM | disk | FTP | other *** search
- // editovw.h : interface of the CEditorView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CEditorView : public CView
- {
- protected: // create from serialization only
- CEditorView();
- DECLARE_DYNCREATE(CEditorView)
-
- // Attributes
- public:
- CEditorDoc* GetDocument();
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CEditorView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- // Printing support
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
-
- // OLE Client support
- virtual BOOL IsSelected(const CObject* pDocItem) const;
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEditorView)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- afx_msg void OnInsertObject(); // OLE support
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in editovw.cpp
- inline CEditorDoc* CEditorView::GetDocument()
- { return (CEditorDoc*) m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-